<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a{
            width: 200px;
            height: 100px;
            background-color: pink;
            /*转化为块儿元素*/
            display: block;
        }
        div{
            width: 300px;
            height: 100px;
            background-color: aqua;
            /*转化为行级元素*/
            display: inline;
        }
        span{
            width: 100px;
            height: 200px;
            background-color: blue;
            /*转化为行内块元素*/
            display: inline-block;
        }
    </style>
</head>
<body>
    <a href="#">金星阿姨</a>
    <div>我是块级元素</div>
    <span>我是行内元素</span>
</body>
</html>